#!/bin/bash
cd "$(dirname $0)/ping"
mv $1 $1.ping
cd /d %~dp0
cd ping
rename %1 %1.ping